<extend name="Index/index"/>

<block name="main">
    <div class="container">
        <form action="<{:U('banner/doadd')}>" method="post" class="form-horizontal" enctype="multipart/form-data">
            <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">轮播图名称 ：</label>
                    <div class="col-sm-4">
                        <input type="text" name="name" class="form-control" placeholder="请输入轮播图名称">
                    </div>
            </div>
            <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">轮播图地址 ：</label>
                    <div class="col-sm-4">
                        <input type="text" name="imglink" class="form-control" placeholder="请输入轮播图地址">
                    </div>
            </div>

            <div class="form-group" style="">
                    <label for="" class="col-sm-2 control-label">轮播图路径 ：</label>
                    <div class="col-sm-4">
                        <input type="file" name="imgurl" value="选择文件">
                    </div>
            </div>

            <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-2">
                            <input type="radio" name="status" value="0" checked>启用
                            <input type="radio" name="status" value="1" >禁用
                    </div>
            </div>

            
            <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-4">
                      <button type="submit" class="btn btn-default">确认添加</button>
                    </div>
             </div>

           
        </form>
    </div>
</block>
